import { getCookie, setCookie, removeCookie } from './index'

const TokenKey = 'token'

export function getToken() {
  return getCookie(TokenKey)
}

export function setToken(token) {
  return setCookie(TokenKey, token)
}

export function removeToken() {
  return removeCookie(TokenKey)
}
